package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻消息发布对象 by_news
 *
 * @author ruoyi
 * @date 2023-06-18
 */
public class ByNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String adduser;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String addTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateuser;

    /** 审核状态(0、审核中，1、审核成功) */
    @Excel(name = "审核状态(0、审核中，1、审核成功)")
    private String status;

    /** 区域分类 */
    @Excel(name = "区域分类")
    private String fbqy;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String videoUrl;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String img;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setAdduser(String adduser)
    {
        this.adduser = adduser;
    }

    public String getAdduser()
    {
        return adduser;
    }
    public void setAddTime(String addTime)
    {
        this.addTime = addTime;
    }

    public String getAddTime()
    {
        return addTime;
    }
    public void setUpdateuser(String updateuser)
    {
        this.updateuser = updateuser;
    }

    public String getUpdateuser()
    {
        return updateuser;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setFbqy(String fbqy)
    {
        this.fbqy = fbqy;
    }

    public String getFbqy()
    {
        return fbqy;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("adduser", getAdduser())
                .append("addTime", getAddTime())
                .append("updateuser", getUpdateuser())
                .append("updateTime", getUpdateTime())
                .append("status", getStatus())
                .append("fbqy", getFbqy())
                .append("videoUrl", getVideoUrl())
                .append("img", getImg())
                .toString();
    }
}
